package com.yeyoo.websocket.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import java.util.concurrent.atomic.AtomicBoolean;

/**
 * Created by SunJianKang@163.com on 2020-11-04.
 */
@RequestMapping("/test/controller")
@Controller
public class TestController {
    // private AtomicBoolean locked = new AtomicBoolean(false);


    @RequestMapping("/index")
    public ModelAndView index() {


        return new ModelAndView("/index/index");
    }

}
